package cn.maidouya.pet.domain;
import cn.maidouya.basic.domain.BaseDomain;
import cn.maidouya.org.domain.Shop;
import cn.maidouya.user.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;

/**
 *   寻主类
 *   寻找宠物的主人
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchMasterMsg extends BaseDomain {
    // 宠物名称
    private String name;
    private Integer age;
    private Integer gender;
    // 宠物毛色
    private String coat_color;
    // 图片
    private String resources;
    // 宠物类型
    private Long pet_type;
    private PetType type;
    // 宠物价格
    private BigDecimal price;
    private String address;
    // 待处理 0 已处理1
    private Integer state =0;
    private String title;

    // 出售宠物主人id
    private Long user_id;
    private User user;

    // 店铺id 消息分配的店铺
    private Long shop_id;
    private Shop shop;
}